<template>
  <div id="scroll-board">
    <dv-scroll-board
      :style="{
        'height':height ,
      }"
      :config="config"
    />
  </div>
</template>

<script>

export default {
  name: 'ScrollBoard',
  props: {
    config: {
      type: Object,
      default: () => ({})
    },
    height: {
      type: String,
      default: 'calc(29vh)'
    }

  },
  data() {
    return {
    };
  }

};
</script>

<style lang="scss" scoped>
#scroll-board {
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
  width: 290px
}
.dv-scroll-board {
    position: relative;
    width: 100%;
    color: #fff;
}
#scroll-board /deep/ .dv-scroll-board .header .header-item {
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    font-size: 10px !important;
    text-align: center
}
#scroll-board /deep/ .dv-scroll-board .rows .ceil {
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center !important;
    font-size: 10px !important;

}
</style>
